package guestbook;
import javax.servlet.http.*;

/*
 * this class provides the current time to the gadget
 */

public class gadgetRequestTimeServlet extends abstractRequestServlet<Object> 
{    


	/**
	 * 
	 */
	private static final long serialVersionUID = -666541609670604637L;

	public void doGet(HttpServletRequest req, HttpServletResponse resp)
	 
	{
		try
		{
			long result=0;
			result= System.currentTimeMillis();
			writeToServlet(resp,result);
		}
		catch (Exception e)
		{
			e.printStackTrace();
		}
			    
	}
}



